package com.usian.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.usian.common.R;
import com.usian.pojo.Emp;
import com.usian.pojo.Posts;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface PostsService {
    //添加
    void add(Posts posts,HttpSession session);
    //查询
    Page<Posts> findPage(HttpSession session, Integer page, Integer pageSize, String name);
    //查询集合
    List<Posts> findByList(Integer did);
    //回显
    Posts findById(Integer id);
}
